package com.lykj.llw.box.data.model

/**
 * ================================================
 * 本地下载记录实体
 * ================================================
 *
 * @author gosha
 * @date 2023/12/4-13:57
 */
class LocalDownloadRecordModel {
    constructor(
        gameId: Int,
        icon: String,
        name: String,
        currentBytes: Float,
        totalBytes: Float,
        progress: Int,
        status: Int,
        path: String,
        packageName: String
    ) {
        this.gameId = gameId
        this.icon = icon
        this.name = name
        this.currentBytes = currentBytes
        this.totalBytes = totalBytes
        this.progress = progress
        this.status = status
        this.path = path
        this.packageName = packageName
    }

    var gameId: Int = 0
    var icon: String = ""
    var name: String = ""
    var currentBytes: Float = 0F
    var totalBytes: Float = 0F
    var progress: Int = 0
    var status: Int = 0//0:下载中 1:下载完成 -1:下载停止 2:等待下载
    var path: String = ""
    var packageName: String = ""

    var isManagerModel: Boolean = false
}